export function collectRequestTimes(status: { [key: string]: number }): [number, number] {
    let requestTimes = 0;
    let successTimes = 0 + status['200'];
    for (let key in status) {
        requestTimes += status[key];
    }
    return [successTimes, successTimes / requestTimes];
}